Updating a Database Using Flash MX Professional 2004
Table of Contents
Summary
This article focuses on how to deal with packets so you can have an application that updates a database. As you have seen, with very few lines of ActionScript code, this application is able to load data from a table, edit that data, and save it back to the database. You have also seen how it is possible to pass additional control information along to server functions through update packets, and how the server function can update fields and pass those values back to the DataSet to be updated, thus conserving network bandwidth. When Macromedia releases the new Remoting connector, this application will be even easier to build since you would not have to write the code to connect to the CFC, make the function calls, and manually bring in the data and results.
If necessary, you can easily modify the provided ColdFusion component to produce a different SQL syntax that would work with other RDBMS databases in the same fashion. If you are familiar with ASP, .NET, or Java Servlets, you should also be able to use this component as a template for building this functionality in your language of choice.